package com.ssm.service;

import com.ssm.pojo.SysLog;

import java.util.List;
import java.util.Map;

/**
 * Created by 墨殇
 * 2017/12/27.
 * @author Administrator
 */
public interface SysLogService {

    /**
     * 根据id查询日志信息
     * @param id
     * @return
     */
    SysLog findById(Long id);

    List<SysLog> queryList(Map<String, Object> map);

    Integer queryTotal(Map<String, Object> map);

    Integer add(SysLog sysLog);

    Integer update(SysLog sysLog);

    Integer delete(Long id);

    Integer deleteBatch(Long[] ids);

}
